package com.itheima.service;

import com.itheima.domain.Admin;
import com.itheima.domain.User;

import java.util.List;

//业务层接口
public interface UserService {


    //通过email和pwd获取管理员对象
    Admin findByEmailAndPwd(String email, String pwd);

    //获取用户集合
    List<User> findAll();
}
